package com.alex.wechat.mp.message.mass.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Title: Entity
 * @Description: 微信群发用户
 * @author onlineGenerator
 * @date 2016-12-23 15:58:53
 * @version V1.0
 *
 */
@Entity
@Table(name = "wx_mass_users", schema = "")
@SuppressWarnings("serial")
@javax.xml.bind.annotation.XmlRootElement
public class WxMassUsersEntity implements java.io.Serializable {
  /** 主键 */
  private java.lang.String id;
  /** 群发单标识 */
  @Excel(name = "群发单标识")
  private java.lang.String owner;
  /** 粉丝名称 */
  @Excel(name = "粉丝名称")
  private java.lang.String fansName;
  /** 粉丝微信标识 */
  @Excel(name = "粉丝微信标识")
  private java.lang.String fansOpenId;

  /**
   * 方法: 取得主键
   * 
   * @return 主键
   */
  @Id
  @GeneratedValue(generator = "paymentableGenerator")
  @GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
  @Column(name = "ID", nullable = false, length = 36)
  public java.lang.String getId() {
    return this.id;
  }

  /**
   * 方法: 设置主键
   *
   * @param id
   *          主键
   */
  public void setId(java.lang.String id) {
    this.id = id;
  }

  /**
   * 方法: 取得群发单标识
   * 
   * @return 群发单标识
   */
  @Column(name = "OWNER", nullable = false, length = 50)
  public java.lang.String getOwner() {
    return this.owner;
  }

  /**
   * 方法: 设置群发单标识
   *
   * @param owner
   *          群发单标识
   */
  public void setOwner(java.lang.String owner) {
    this.owner = owner;
  }

  /**
   * 方法: 取得粉丝名称
   * 
   * @return 粉丝名称
   */
  @Column(name = "FANS_NAME", nullable = true, length = 100)
  public java.lang.String getFansName() {
    return this.fansName;
  }

  /**
   * 方法: 设置粉丝名称
   *
   * @param fansName
   *          粉丝名称
   */
  public void setFansName(java.lang.String fansName) {
    this.fansName = fansName;
  }

  /**
   * 方法: 取得粉丝微信标识
   * 
   * @return 粉丝微信标识
   */
  @Column(name = "FANS_OPEN_ID", nullable = false, length = 100)
  public java.lang.String getFansOpenId() {
    return this.fansOpenId;
  }

  /**
   * 方法: 设置粉丝微信标识
   *
   * @param fansOpenId
   *          粉丝微信标识
   */
  public void setFansOpenId(java.lang.String fansOpenId) {
    this.fansOpenId = fansOpenId;
  }
}
